package com.min.netty.handler;

import com.min.netty.model.LogEvent;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

/**
 * CREATE BY 2018/9/10
 *
 * @author sirmin
 */
public class Handler extends SimpleChannelInboundHandler<LogEvent> {
    @Override
    protected void channelRead0(ChannelHandlerContext ctx, LogEvent msg) throws Exception {
        System.out.println(msg);
    }
}
